package com.system.healthproject.model.admin.paramsbean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel
public class RoleParams {
    @NotBlank
    @ApiModelProperty(name = "roleName",notes = "角色英文名称",required = true)
    private String roleName;
    @NotBlank
    @ApiModelProperty(name = "roleNamezh",notes = "角色中文名称",required = true)
    private String roleNamezh;
    @NotNull
    @ApiModelProperty(name = "parentId",notes = "角色id",required = true)
    private Integer parentId;

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleNamezh() {
        return roleNamezh;
    }

    public void setRoleNamezh(String roleNamezh) {
        this.roleNamezh = roleNamezh;
    }

}
